<link rel="stylesheet" href="__TEMPLATE__/css/style.css" />
<hdjs/>
<script type="text/javascript" src="__TEMPLATE__/js/js.js"></script>
</head>
<body>
	<!-- 顶部100%灰色区域 -->
	<div id="top_dark_box">
		<!-- 中间1200px宽度区域 -->
		<div id="top_dark">
			<a href=""><img src="__TEMPLATE__/images/others/logo.jpg" id="logo" /></a>
			<!-- 导航菜单 -->
			<ul id="menu">
				<li>
					<a href="__ROOT__/index.html">首页</a>
				</li>
				<nav class="black">
					<li class="{$field.class}">
						<a href="{$field.curl}">{$field.cname}</a>
					</li>
				</nav>
			</ul>
			<!-- 导航菜单结束 -->
			<!-- 用户登录 -->
			
			<div id="loginInfo" class='loginInfo'>
				<if value="!isset($hd.session.username)">
				<a href="javascript:showLoginBox()" class="top_login">用户登录</a>
				<a href="javascript:showRegBox();" class="top_reg">注册</a>
				<else/>
				<span>{$hd.session.username}</span><a href="javascript:;" class="out">退出</a>
				</if>
			</div>
	
			<!-- 用户登录对应隐藏区域 -->
			<form id="loginForm" action="javascript:;" method="post">
			<div class="login_hide_box">
				<!-- <img src="__TEMPLATE__/images/sanjiao.gif" alt="" /> -->
				<div class="middle">
					<p>用户名：</p>
					<input type="text" name="username" class="text" />
					<p>密码：</p>
					<input type="password" name="password" class="text" />
					<input type="submit" value="" class="sub" />
				</div>
				<div class="bottom">
					<a  href="javascript:showRegBox();" class="reg">注册</a>
				</div>
			</div>
			</form>
			
			<!-- 用户注册对应隐藏区域 -->
			<form id="regForm" action="javascript:;" method="post">	
			<div class="reg_hide_box">
				<!-- <img src="__TEMPLATE__/images/sanjiao.gif" alt="" /> -->
				<div class="middle">
					<p>用户名：</p>
					<input type="text" name="username_reg" class="text username" />
					<p>昵称：</p>
					<input type="text" name="nickname" class="text nickname" />
					<p>密码：</p>
					<input type="password" name="password_reg1" class="text password" />
					<p>确认密码：</p>
					<input type="password" name="password_reg2" class="text password" />
					<p>验证码：</p>
					<img src="{|U:'Member/code'}" id="code" onclick="this.src=this.src + '&' + Math.random()"/>
					<input type="text"  name="code" class="text password_d" />
					<input type="submit" value="注册" class="sub" />
				</div>
			</div>
			</form>
		
		</div>
		<!-- 中间1200px宽度区域结束 -->
	</div>
	<!-- 顶部灰色100%区域结束 -->
	
	<!-- 顶部最新消息区域 -->
	<div id="latest_news_box">
		<div id="latest_news">
			<p><span class="title">最新消息：</span>
				<arclist row="1" order="sendtime DESC">{$field.title}</arclist></p>
		</div>
	</div>
	<!-- 顶部最新消息区域结束 -->